let momen = function (now) {
  let time = new Date(now)
  let Y = time.getFullYear()
  let M = (time.getMonth() + 1 + '').padStart(2, '0')
  let D = (time.getDate() + '').padStart(2, '0')
  let h = (time.getHours() + '').padStart(2, '0')
  let m = (time.getMinutes() + '').padStart(2, '0')
  let s = (time.getSeconds() + '').padStart(2, '0')
  return `${Y}-${M}-${D} \t ${h}:${m}:${s}`
}

export default {
  momen
}
